﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ZSZ.IService;

namespace TestAutoFac
{
    public class TestHelper
    {
        public IRoleService RoleService { get; set; }
        public string GetRole()
        {
            List<string> list = RoleService.GetAll().Select(r => r.Name).ToList();
            return string.Join(",", list);
        }
    }
}